home *** CD-ROM | disk | FTP | other *** search
/ Joystick Magazine 2000 November / cd joystick no120 novembre 2000 cd 1.iso / data / demos / gunlok / data1.cab / Program_Executable_Files / scripts / pipe_steam.gsh < prev    next >
Text File  |  2000-08-22  |  2KB  |  133 lines

  1. // defines steam coming from the pipes
  2. ////////////////////////////////////////////////////////////////////////////////////
  3.  
  4. // start wrapper - prevent multiple inclusions or recursive inclusions
  5.  
  6. //(this currently causes 'unrecognized preprocessor directive' warnings, until implemented)
  7. #ifndef INCLUDED_PIPE_STEAM_GSH
  8. #define INCLUDED_PIPE_STEAM_GSH
  9.  
  10. ////////////////////////////////////////////////////////////////////////////////////
  11.  
  12. #include "defaults.gsh"
  13.  
  14. pgenerator Pgn_PipeSteam_Up
  15. {
  16.     type steam
  17.     life infinite
  18.     rate 10
  19.  
  20.     // stream direction
  21.     x  0
  22.     y -5
  23.     z  0
  24.  
  25.     // particle colour
  26.     red   0.15
  27.     green 0.1
  28.     blue  0.1
  29.     alpha 1
  30. }
  31.  
  32. role Rol_PipeSteam_Up : Rol_PlacedObject
  33. {
  34.     shape Pgn_PipeSteam_Up
  35. }
  36.  
  37. pgenerator Pgn_PipeSteam_Down
  38. {
  39.     type steam
  40.     life infinite
  41.     rate 10
  42.     
  43.     // stream direction
  44.     x  0
  45.     y  5
  46.     z  0
  47.     
  48.     // particle colour
  49.     red   0.15
  50.     green 0.1
  51.     blue  0.1
  52.     alpha 1
  53. }
  54.  
  55. role Rol_PipeSteam_Down : Rol_PlacedObject
  56. {
  57.     shape Pgn_PipeSteam_Down
  58. }
  59.  
  60. pgenerator Pgn_PipeSteam_DownSW
  61. {
  62.     type steam
  63.     life infinite
  64.     rate 10
  65.     
  66.     // stream direction
  67.     x  -5
  68.     y  5
  69.     z  5
  70.     
  71.     // particle colour
  72.     red   0.15
  73.     green 0.1
  74.     blue  0.04
  75.     alpha 1
  76. }
  77.  
  78. role Rol_PipeSteam_DownSW : Rol_PlacedObject
  79. {
  80.     shape Pgn_PipeSteam_DownSW
  81. }
  82.  
  83. pgenerator Pgn_PipeSteam_NE
  84. {
  85.     type steam
  86.     life infinite
  87.     rate 30
  88.     
  89.     // stream direction
  90.     x  5
  91.     y  0
  92.     z  -5
  93.     
  94.     // particle colour
  95.     red   0.15
  96.     green 0.1
  97.     blue  0.04
  98.     alpha 1
  99. }
  100.  
  101. role Rol_PipeSteam_NE : Rol_PlacedObject
  102. {
  103.     shape Pgn_PipeSteam_NE
  104. }
  105.  
  106. pgenerator Pgn_Resyk_Steam_Up
  107. {
  108.     type steam
  109.     life infinite
  110.     rate 10
  111.     
  112.     // stream direction
  113.     x  0
  114.     y -0.5
  115.     z  0
  116.     
  117.     // particle colour
  118.     red   0.1
  119.     green 0.1
  120.     blue  0.04
  121.     alpha 1
  122. }
  123.  
  124. role Rol_Resyk_Steam_Up : Rol_PlacedObject
  125. {
  126.     shape Pgn_Resyk_Steam_Up
  127. }
  128.  
  129. ////////////////////////////////////////////////////////////////////////////////////
  130.  
  131. // end wrapper - for preventing multiple or recursive inclusions
  132. #endif // !INCLUDED_PIPE_STEAM_GSH
  133.